package com.cdtu.stocksage.goods.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.cdtu.stocksage.common.annotation.Excel;
import com.cdtu.stocksage.common.core.domain.BaseEntity;

/**
 * 物资信息对象 ers_goods
 * 
 * @author SL
 * @date 2025-03-12
 */
public class ErsGoods extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 仓库ID */
    @Excel(name = "仓库ID")
    private String warehouseId;

    /** 仓库名称 */
    @Excel(name = "仓库名称")
    private String warehouseName;

    /** 物资分类 */
    @Excel(name = "物资分类")
    private String goodsType;

    /** 物资名称 */
    @Excel(name = "物资名称")
    private String goodsName;

    /** 库存数量 */
    @Excel(name = "库存数量")
    private BigDecimal goodsNum;

    /** 单位 */
    @Excel(name = "单位")
    private String goodsUnit;

    /** 物资图片 */
    @Excel(name = "物资图片")
    private String goodsPic;

    /** 预警库存数量 */
    @Excel(name = "预警库存数量")
    private BigDecimal minNum;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;

    /** 删除状态 */
    private Integer delFlag;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }

    public void setWarehouseId(String warehouseId) 
    {
        this.warehouseId = warehouseId;
    }

    public String getWarehouseId() 
    {
        return warehouseId;
    }

    public void setWarehouseName(String warehouseName) 
    {
        this.warehouseName = warehouseName;
    }

    public String getWarehouseName() 
    {
        return warehouseName;
    }

    public void setGoodsType(String goodsType) 
    {
        this.goodsType = goodsType;
    }

    public String getGoodsType() 
    {
        return goodsType;
    }

    public void setGoodsName(String goodsName) 
    {
        this.goodsName = goodsName;
    }

    public String getGoodsName() 
    {
        return goodsName;
    }

    public void setGoodsNum(BigDecimal goodsNum) 
    {
        this.goodsNum = goodsNum;
    }

    public BigDecimal getGoodsNum() 
    {
        return goodsNum;
    }

    public void setGoodsUnit(String goodsUnit) 
    {
        this.goodsUnit = goodsUnit;
    }

    public String getGoodsUnit() 
    {
        return goodsUnit;
    }

    public void setGoodsPic(String goodsPic) 
    {
        this.goodsPic = goodsPic;
    }

    public String getGoodsPic() 
    {
        return goodsPic;
    }

    public void setMinNum(BigDecimal minNum) 
    {
        this.minNum = minNum;
    }

    public BigDecimal getMinNum() 
    {
        return minNum;
    }

    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }

    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    public void setDelFlag(Integer delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("warehouseId", getWarehouseId())
            .append("warehouseName", getWarehouseName())
            .append("goodsType", getGoodsType())
            .append("goodsName", getGoodsName())
            .append("goodsNum", getGoodsNum())
            .append("goodsUnit", getGoodsUnit())
            .append("goodsPic", getGoodsPic())
            .append("minNum", getMinNum())
            .append("remarks", getRemarks())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
